<div class="content">
     <h2 class="api-name">引入文件</h2>
     <textarea name="code" class="js"> 
		<script type="text/javascript" src="simpleCore.js"></script>
	 </textarea>
	 <h2 class="api-name">使用Core模块</h2>
	 <div class="part">
	 	<h3 class="api-guide">Simple.plugin(/*string*/name,/*function*/cls,/*object||function*/prop)</h3>
	 	<p class="desc"><strong>概述：</strong>为cls添加一个插件函数</p>
	 	<textarea name="code" class="js"> 
	 		Simple.plugin("test",Simple.Bird,{
	 			_init:function(){
					this.logInfo();
				},
				methods:{
					logInfo:function(){
						Simple.log("test");
					}
				}
	 		});
			new Simple.Bird({
				plugins:["test"]
			})
			//will print animal,test;
	 	</textarea>
	 </div>
</div>

